<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Swiper demo</title>
    <!-- Link Swiper's CSS -->
    <link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>

    <!-- Demo styles -->
    <style>
        body {
            background: #eee;
            font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: 14px;
            color:#000;
            margin: 0;
            padding: 0;
        }
        .swiper-container {
            width: 500px;
            height: 300px;
            margin: 20px auto;
        }
        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            line-height: 300px;
        }
    </style>
</head>
<body>
<!-- Swiper -->
<div class="swiper-container swiper-container-h">
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>

    <div class="swiper-wrapper">
        <div class="swiper-slide">
            <div class="banner_bg1">
                <img src="images/recommend/bg_pic.png" alt="" class="bg_pic"/>
                <p>菩提花开又花落</p>

            </div>
            <div class="banner_des">
                <span>当前已有</span>
                <span class="num_bg">34人</span>
                <span>参与阅读</span>
            </div>
        </div>
        <div class="swiper-slide">
            <div class="banner_bg1">
                <img src="images/recommend/bg_pic.png" alt="" class="bg_pic"/>
                <p>菩提花开又花落</p>

            </div>
            <div class="banner_des">
                <span>当前已有</span>
                <span class="num_bg">34人</span>
                <span>参与阅读</span>
            </div>
        </div>
        <div class="swiper-slide">
            <div class="banner_bg1">
                <img src="images/recommend/bg_pic.png" alt="" class="bg_pic"/>
                <p>菩提花开又花落</p>

            </div>
            <div class="banner_des">
                <span>当前已有</span>
                <span class="num_bg">34人</span>
                <span>参与阅读</span>
            </div>
        </div>
    </div>
</div>

<!-- Swiper JS -->
<script type="text/javascript" src="js/swiper.min.js"></script>

<!-- Initialize Swiper -->
<script>
    var swiper = new Swiper('.swiper-container-h', {
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        pagination: '.swiper-pagination',
        paginationType: 'fraction'
    });
</script>
</body>
</html>